package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author wei
 */
@ApiModel(value = "盘点单实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StocktakingForm {

  private Long sfId;                  //盘点主键ID
  private String sfNo;                //盘点单号
  private String sfName;              //盘点单名称
  private String sfRemark;            //备注
  private String sfCreater;           //创建人
  private Integer sfState;            //状态(1:未完成，2:已完成)
  @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
  private Timestamp sfCreateTime;     //创建时间
  private Integer sfIsAll;            //是否全员盘点(1:是，2:否)
  private Integer sfIsPlate;          //盘点时是否必须牌照(1:是，2:否)
  private Integer sfIsManual;         //是否允许手动选择资产盘点(1:是，2:否)
  private Integer sfIsUpload;         //盘点是否允许牌照上(1:是，2:否)
  private Integer sfIsContainCallout; //是否包含已经调出未确认资产(1:是，2:否)

}
